<%@ page language="java" import="java.util.*" pageEncoding="utf-8"%>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<%@ taglib prefix="fn" uri="http://java.sun.com/jsp/jstl/functions" %>
<%
String path = request.getContextPath();
String basePath = request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort()+path+"/";

//UserInfo user=(UserInfo)session.getAttribute("LOGINUSER");
%>

<c:set var="ctx" value="${pageContext.request.contextPath}"/>
<script type="text/javascript">
 	var winWidth = 0;
	var winHeight = 0;
	function findDimensions() //函数：获取尺寸
	{
	//获取窗口宽度
	if (window.innerWidth)
	winWidth = window.innerWidth;
	else if ((document.body) && (document.body.clientWidth))
	winWidth = document.body.clientWidth;
	//获取窗口高度
	if (window.innerHeight)
	winHeight = window.innerHeight;
	else if ((document.body) && (document.body.clientHeight))
	winHeight = document.body.clientHeight;
	//通过深入Document内部对body进行检测，获取窗口大小
	if (document.documentElement  && document.documentElement.clientHeight && document.documentElement.clientWidth)
	{
	winHeight = document.documentElement.clientHeight;
	winWidth = document.documentElement.clientWidth;
	}
	
	winHeight1= winHeight*90;
	winHeight2= winHeight*80;
	winHeight3= winHeight*65;
	}
	findDimensions();
	//调用函数，获取数值
	window.onresize=findDimensions;
</script>

<!DOCTYPE html>
<html lang="en">
	<head>
	    <base href="<%=basePath%>">
		<meta charset="utf-8" />
		<title>首页</title>
		<jsp:include page="ink.jsp"></jsp:include>
	</head>

	<body>		
		<div class="main-container" id="main-container">
			<script type="text/javascript">
				try{ace.settings.check('main-container' , 'fixed')}catch(e){}
			</script>

			<div class="main-container-inner" style="background-color: white">
				<a class="menu-toggler" id="menu-toggler" href="#" style="display: none">
					<span class="menu-text"></span>
				</a>

				<jsp:include  page="/mintor/container/sidebar.jsp"/>
			
                <div class="main-content" style="height:100%;margin-left: 0px;">
                	<%--<iframe style="left: 0;width:100%;height:40px;position:fixed "frameborder="0" src="<%=request.getContextPath()%>/mintor/container/mainheader.jsp" name="mainheader" scrolling="no"></iframe>--%>

                	<iframe style="left:0;position:absolute;width:100%;height:100%;"frameborder="0" src="<%=request.getContextPath()%>/mintor/container/homepage.jsp" name="mainbody" ></iframe>
				</div>	

			</div><!-- /.main-container-inner -->	
		</div>
	</body>
</html>


